home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-02-28 | 2.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 71 28 63 6c 61 73 73 20 |........|q(class |
|00000010| 44 52 61 74 48 55 44 45 | 6c 65 6d 65 6e 74 20 65 |DRatHUDE|lement e|
|00000020| 78 74 65 6e 64 73 20 44 | 48 55 44 45 6c 65 6d 65 |xtends D|HUDEleme|
|00000030| 6e 74 3b 0d 0a 0d 0a 76 | 61 72 20 61 72 72 61 79 |nt;....v|ar array|
|00000040| 3c 54 65 78 74 75 72 65 | 3e 20 4d 6f 76 69 6e 67 |<Texture|> Moving|
|00000050| 52 61 74 3b 0d 0a 76 61 | 72 20 69 6e 74 20 52 61 |Rat;..va|r int Ra|
|00000060| 74 49 6e 64 65 78 3b 0d | 0a 0d 0a 76 61 72 20 66 |tIndex;.|...var f|
|00000070| 6c 6f 61 74 20 47 69 62 | 62 65 72 69 73 68 4f 66 |loat Gib|berishOf|
|00000080| 66 73 65 74 73 5b 33 5d | 3b 0d 0a 0d 0a 76 61 72 |fsets[3]|;....var|
|00000090| 20 66 6c 6f 61 74 20 58 | 53 63 61 6c 65 2c 20 59 | float X|Scale, Y|
|000000a0| 53 63 61 6c 65 3b 0d 0a | 0d 0a 66 75 6e 63 74 69 |Scale;..|..functi|
|000000b0| 6f 6e 20 50 6f 73 69 74 | 69 6f 6e 28 29 0d 0a 7b |on Posit|ion()..{|
|000000c0| 0d 0a 09 57 69 6e 57 69 | 64 74 68 20 3d 20 52 6f |...WinWi|dth = Ro|
|000000d0| 6f 74 2e 57 69 6e 57 69 | 64 74 68 3b 0d 0a 09 57 |ot.WinWi|dth;...W|
|000000e0| 69 6e 48 65 69 67 68 74 | 20 3d 20 52 6f 6f 74 2e |inHeight| = Root.|
|000000f0| 57 69 6e 48 65 69 67 68 | 74 3b 0d 0a 09 0d 0a 09 |WinHeigh|t;......|
|00000100| 57 69 6e 4c 65 66 74 20 | 3d 20 30 3b 0d 0a 09 57 |WinLeft |= 0;...W|
|00000110| 69 6e 54 6f 70 20 3d 20 | 30 3b 0d 0a 09 0d 0a 09 |inTop = |0;......|
|00000120| 58 53 63 61 6c 65 20 3d | 20 52 6f 6f 74 2e 57 69 |XScale =| Root.Wi|
|00000130| 6e 57 69 64 74 68 2f 31 | 30 32 34 3b 0d 0a 09 59 |nWidth/1|024;...Y|
|00000140| 53 63 61 6c 65 20 3d 20 | 52 6f 6f 74 2e 57 69 6e |Scale = |Root.Win|
|00000150| 48 65 69 67 68 74 2f 37 | 36 38 3b 0d 0a 7d 0d 0a |Height/7|68;..}..|
|00000160| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 54 69 63 6b 28 |..functi|on Tick(|
|00000170| 20 66 6c 6f 61 74 20 44 | 65 6c 74 61 20 29 0d 0a | float D|elta )..|
|00000180| 7b 0d 0a 09 47 69 62 62 | 65 72 69 73 68 4f 66 66 |{...Gibb|erishOff|
|00000190| 73 65 74 73 5b 30 5d 20 | 2b 3d 20 28 37 35 2a 44 |sets[0] |+= (75*D|
|000001a0| 65 6c 74 61 29 3b 20 0d | 0a 09 69 66 20 28 20 47 |elta); .|..if ( G|
|000001b0| 69 62 62 65 72 69 73 68 | 4f 66 66 73 65 74 73 5b |ibberish|Offsets[|
|000001c0| 30 5d 20 3e 20 54 65 78 | 74 75 72 65 27 44 57 65 |0] > Tex|ture'DWe|
|000001d0| 61 70 54 65 78 2e 55 54 | 41 6c 65 64 73 6d 30 39 |apTex.UT|Aledsm09|
|000001e0| 27 2e 56 53 69 7a 65 20 | 29 0d 0a 09 09 47 69 62 |'.VSize |)....Gib|
|000001f0| 62 65 72 69 73 68 4f 66 | 66 73 65 74 73 5b 30 5d |berishOf|fsets[0]|
|00000200| 20 3d 20 30 3b 0d 0a 09 | 0d 0a 09 47 69 62 62 65 | = 0;...|...Gibbe|
|00000210| 72 69 73 68 4f 66 66 73 | 65 74 73 5b 31 5d 20 2b |rishOffs|ets[1] +|
|00000220| 3d 20 28 31 32 35 2a 44 | 65 6c 74 61 29 3b 20 0d |= (125*D|elta); .|
|00000230| 0a 09 69 66 20 28 20 47 | 69 62 62 65 72 69 73 68 |..if ( G|ibberish|
|00000240| 4f 66 66 73 65 74 73 5b | 31 5d 20 3e 20 54 65 78 |Offsets[|1] > Tex|
|00000250| 74 75 72 65 27 44 57 65 | 61 70 54 65 78 2e 55 54 |ture'DWe|apTex.UT|
|00000260| 41 6c 65 64 73 6d 30 39 | 27 2e 56 53 69 7a 65 20 |Aledsm09|'.VSize |
|00000270| 29 0d 0a 09 09 47 69 62 | 62 65 72 69 73 68 4f 66 |)....Gib|berishOf|
|00000280| 66 73 65 74 73 5b 31 5d | 20 3d 20 30 3b 0d 0a 09 |fsets[1]| = 0;...|
|00000290| 0d 0a 09 47 69 62 62 65 | 72 69 73 68 4f 66 66 73 |...Gibbe|rishOffs|
|000002a0| 65 74 73 5b 32 5d 20 2b | 3d 20 28 31 37 35 2a 44 |ets[2] +|= (175*D|
|000002b0| 65 6c 74 61 29 3b 20 0d | 0a 09 69 66 20 28 20 47 |elta); .|..if ( G|
|000002c0| 69 62 62 65 72 69 73 68 | 4f 66 66 73 65 74 73 5b |ibberish|Offsets[|
|000002d0| 32 5d 20 3e 20 54 65 78 | 74 75 72 65 27 44 57 65 |2] > Tex|ture'DWe|
|000002e0| 61 70 54 65 78 2e 55 54 | 41 6c 65 64 73 6d 30 39 |apTex.UT|Aledsm09|
|000002f0| 27 2e 56 53 69 7a 65 20 | 29 0d 0a 09 09 47 69 62 |'.VSize |)....Gib|
|00000300| 62 65 72 69 73 68 4f 66 | 66 73 65 74 73 5b 32 5d |berishOf|fsets[2]|
|00000310| 20 3d 20 30 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 | = 0;..}|....func|
|00000320| 74 69 6f 6e 20 41 66 74 | 65 72 50 61 69 6e 74 28 |tion Aft|erPaint(|
|00000330| 20 43 61 6e 76 61 73 20 | 43 2c 20 66 6c 6f 61 74 | Canvas |C, float|
|00000340| 20 58 2c 20 66 6c 6f 61 | 74 20 59 20 29 0d 0a 7b | X, floa|t Y )..{|
|00000350| 0d 0a 09 6c 6f 63 61 6c | 20 44 47 61 6d 65 50 6c |...local| DGamePl|
|00000360| 61 79 65 72 20 50 6c 61 | 79 65 72 3b 0d 0a 09 6c |ayer Pla|yer;...l|
|00000370| 6f 63 61 6c 20 54 65 78 | 52 65 67 69 6f 6e 20 54 |ocal Tex|Region T|
|00000380| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 69 3b |;...loca|l int i;|
|00000390| 0d 0a 09 0d 0a 09 50 6c | 61 79 65 72 20 3d 20 44 |......Pl|ayer = D|
|000003a0| 47 61 6d 65 50 6c 61 79 | 65 72 28 47 65 74 50 6c |GamePlay|er(GetPl|
|000003b0| 61 79 65 72 4f 77 6e 65 | 72 28 29 29 3b 0d 0a 09 |ayerOwne|r());...|
|000003c0| 0d 0a 09 2f 2f 20 62 6c | 75 65 20 62 67 20 6f 76 |...// bl|ue bg ov|
|000003d0| 65 72 6c 61 79 0d 0a 20 | 20 20 20 43 2e 53 74 79 |erlay.. | C.Sty|
|000003e0| 6c 65 20 3d 20 50 6c 61 | 79 65 72 2e 45 52 65 6e |le = Pla|yer.ERen|
|000003f0| 64 65 72 53 74 79 6c 65 | 2e 53 54 59 5f 41 6c 70 |derStyle|.STY_Alp|
|00000400| 68 61 3b 0d 0a 20 20 20 | 20 43 2e 44 72 61 77 43 |ha;.. | C.DrawC|
|00000410| 6f 6c 6f 72 20 3d 20 43 | 2e 47 65 74 43 6f 6c 6f |olor = C|.GetColo|
|00000420| 72 28 20 36 34 2c 20 36 | 34 2c 20 31 32 38 2c 20 |r( 64, 6|4, 128, |
|00000430| 39 36 20 29 3b 0d 0a 09 | 44 72 61 77 53 74 72 65 |96 );...|DrawStre|
|00000440| 74 63 68 65 64 54 65 78 | 74 75 72 65 28 20 43 2c |tchedTex|ture( C,|
|00000450| 20 30 2c 20 30 2c 20 57 | 69 6e 57 69 64 74 68 2c | 0, 0, W|inWidth,|
|00000460| 20 57 69 6e 48 65 69 67 | 68 74 2c 20 54 65 78 74 | WinHeig|ht, Text|
|00000470| 75 72 65 27 44 57 65 61 | 70 54 65 78 2e 52 61 74 |ure'DWea|pTex.Rat|
|00000480| 2e 72 61 74 46 58 31 27 | 20 29 3b 0d 0a 09 0d 0a |.ratFX1'| );.....|
|00000490| 09 2f 2f 20 63 69 72 63 | 6c 65 20 62 6c 61 63 6b |.// circ|le black|
|000004a0| 6f 75 74 0d 0a 09 43 2e | 53 74 79 6c 65 20 3d 20 |out...C.|Style = |
|000004b0| 50 6c 61 79 65 72 2e 45 | 52 65 6e 64 65 72 53 74 |Player.E|RenderSt|
|000004c0| 79 6c 65 2e 53 54 59 5f | 4d 6f 64 75 6c 61 74 65 |yle.STY_|Modulate|
|000004d0| 64 3b 0d 0a 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |d;...C.D|rawColor|
|000004e0| 20 3d 20 43 2e 47 65 74 | 43 6f 6c 6f 72 28 20 31 | = C.Get|Color( 1|
|000004f0| 38 35 2c 20 31 38 35 2c | 20 31 38 35 20 29 3b 0d |85, 185,| 185 );.|
|00000500| 0a 09 44 72 61 77 53 74 | 72 65 74 63 68 65 64 54 |..DrawSt|retchedT|
|00000510| 65 78 74 75 72 65 28 20 | 43 2c 20 30 2c 20 2d 31 |exture( |C, 0, -1|
|00000520| 32 38 2a 58 53 63 61 6c | 65 2c 20 57 69 6e 57 69 |28*XScal|e, WinWi|
|00000530| 64 74 68 2c 20 57 69 6e | 48 65 69 67 68 74 2b 28 |dth, Win|Height+(|
|00000540| 32 35 36 2a 59 53 63 61 | 6c 65 29 2c 20 54 65 78 |256*YSca|le), Tex|
|00000550| 74 75 72 65 27 53 6e 69 | 70 65 42 6c 30 31 27 20 |ture'Sni|peBl01' |
|00000560| 29 3b 0d 0a 0d 0a 09 2f | 2f 20 6d 6f 76 69 6e 67 |);...../|/ moving|
|00000570| 20 72 61 74 2b 63 69 72 | 63 6c 65 0d 0a 20 20 20 | rat+cir|cle.. |
|00000580| 20 43 2e 53 74 79 6c 65 | 20 3d 20 50 6c 61 79 65 | C.Style| = Playe|
|00000590| 72 2e 45 52 65 6e 64 65 | 72 53 74 79 6c 65 2e 53 |r.ERende|rStyle.S|
|000005a0| 54 59 5f 54 72 61 6e 73 | 6c 75 63 65 6e 74 3b 0d |TY_Trans|lucent;.|
|000005b0| 0a 20 20 20 20 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |. C.D|rawColor|
|000005c0| 20 3d 20 43 2e 47 65 74 | 43 6f 6c 6f 72 28 20 31 | = C.Get|Color( 1|
|000005d0| 32 38 2c 20 31 32 38 2c | 20 31 32 38 20 29 3b 0d |28, 128,| 128 );.|
|000005e0| 0a 09 44 72 61 77 53 63 | 61 6c 65 64 54 65 78 74 |..DrawSc|aledText|
|000005f0| 75 72 65 28 20 43 2c 20 | 57 69 6e 57 69 64 74 68 |ure( C, |WinWidth|
|00000600| 2f 36 20 2d 20 54 65 78 | 74 75 72 65 27 44 57 65 |/6 - Tex|ture'DWe|
|00000610| 61 70 54 65 78 2e 72 61 | 74 43 69 72 63 6c 65 27 |apTex.ra|tCircle'|
|00000620| 2e 55 53 69 7a 65 2f 32 | 2c 20 57 69 6e 48 65 69 |.USize/2|, WinHei|
|00000630| 67 68 74 2f 32 20 2d 20 | 54 65 78 74 75 72 65 27 |ght/2 - |Texture'|
|00000640| 44 57 65 61 70 54 65 78 | 2e 72 61 74 43 69 72 63 |DWeapTex|.ratCirc|
|00000650| 6c 65 27 2e 56 53 69 7a | 65 2f 32 2c 20 54 65 78 |le'.VSiz|e/2, Tex|
|00000660| 74 75 72 65 27 44 57 65 | 61 70 54 65 78 2e 72 61 |ture'DWe|apTex.ra|
|00000670| 74 43 69 72 63 6c 65 27 | 2c 20 58 53 63 61 6c 65 |tCircle'|, XScale|
|00000680| 2c 20 59 53 63 61 6c 65 | 20 29 3b 0d 0a 09 43 2e |, YScale| );...C.|
|00000690| 53 74 79 6c 65 20 3d 20 | 50 6c 61 79 65 72 2e 45 |Style = |Player.E|
|000006a0| 52 65 6e 64 65 72 53 74 | 79 6c 65 2e 53 54 59 5f |RenderSt|yle.STY_|
|000006b0| 41 6c 70 68 61 3b 0d 0a | 20 20 20 20 43 2e 44 72 |Alpha;..| C.Dr|
|000006c0| 61 77 43 6f 6c 6f 72 20 | 3d 20 43 2e 47 65 74 43 |awColor |= C.GetC|
|000006d0| 6f 6c 6f 72 28 20 31 32 | 38 2c 20 31 32 38 2c 20 |olor( 12|8, 128, |
|000006e0| 31 32 38 2c 20 31 32 38 | 20 29 3b 0d 0a 09 44 72 |128, 128| );...Dr|
|000006f0| 61 77 53 63 61 6c 65 64 | 54 65 78 74 75 72 65 28 |awScaled|Texture(|
|00000700| 20 43 2c 20 57 69 6e 57 | 69 64 74 68 2f 36 20 2d | C, WinW|idth/6 -|
|00000710| 20 4d 6f 76 69 6e 67 52 | 61 74 5b 52 61 74 49 6e | MovingR|at[RatIn|
|00000720| 64 65 78 5d 2e 55 53 69 | 7a 65 2f 32 2c 20 57 69 |dex].USi|ze/2, Wi|
|00000730| 6e 48 65 69 67 68 74 2f | 32 20 2d 20 4d 6f 76 69 |nHeight/|2 - Movi|
|00000740| 6e 67 52 61 74 5b 52 61 | 74 49 6e 64 65 78 5d 2e |ngRat[Ra|tIndex].|
|00000750| 56 53 69 7a 65 2f 32 2c | 20 4d 6f 76 69 6e 67 52 |VSize/2,| MovingR|
|00000760| 61 74 5b 52 61 74 49 6e | 64 65 78 5d 2c 20 58 53 |at[RatIn|dex], XS|
|00000770| 63 61 6c 65 2c 20 59 53 | 63 61 6c 65 20 29 3b 0d |cale, YS|cale );.|
|00000780| 0a 0d 0a 09 2f 2f 20 72 | 61 74 20 62 6c 75 72 62 |....// r|at blurb|
|00000790| 20 22 74 65 6c 65 6b 79 | 6e 65 22 09 0d 0a 20 20 | "teleky|ne"... |
|000007a0| 20 20 43 2e 44 72 61 77 | 43 6f 6c 6f 72 20 3d 20 | C.Draw|Color = |
|000007b0| 43 2e 47 65 74 43 6f 6c | 6f 72 28 20 32 30 35 2c |C.GetCol|or( 205,|
|000007c0| 20 32 30 35 2c 20 32 30 | 35 20 29 3b 0d 0a 09 44 | 205, 20|5 );...D|
|000007d0| 72 61 77 53 63 61 6c 65 | 64 54 65 78 74 75 72 65 |rawScale|dTexture|
|000007e0| 28 20 43 2c 20 57 69 6e | 57 69 64 74 68 20 2d 20 |( C, Win|Width - |
|000007f0| 57 69 6e 57 69 64 74 68 | 2f 35 20 2d 20 28 36 34 |WinWidth|/5 - (64|
|00000800| 20 2a 20 58 53 63 61 6c | 65 29 2c 20 33 30 20 2a | * XScal|e), 30 *|
|00000810| 20 59 53 63 61 6c 65 2c | 20 54 65 78 74 75 72 65 | YScale,| Texture|
|00000820| 27 44 57 65 61 70 54 65 | 78 2e 72 61 74 62 6c 75 |'DWeapTe|x.ratblu|
|00000830| 72 62 27 2c 20 31 2e 66 | 2c 20 31 2e 66 20 29 3b |rb', 1.f|, 1.f );|
|00000840| 0d 0a 09 0d 0a 09 2f 2f | 20 72 61 6e 64 6f 6d 20 |......//| random |
|00000850| 67 69 62 62 65 72 69 73 | 68 20 6f 6e 20 73 69 64 |gibberis|h on sid|
|00000860| 65 0d 0a 09 43 2e 53 74 | 79 6c 65 20 3d 20 50 6c |e...C.St|yle = Pl|
|00000870| 61 79 65 72 2e 45 52 65 | 6e 64 65 72 53 74 79 6c |ayer.ERe|nderStyl|
|00000880| 65 2e 53 54 59 5f 54 72 | 61 6e 73 6c 75 63 65 6e |e.STY_Tr|anslucen|
|00000890| 74 3b 0d 0a 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |t;...C.D|rawColor|
|000008a0| 20 3d 20 43 2e 47 65 74 | 43 6f 6c 6f 72 28 20 31 | = C.Get|Color( 1|
|000008b0| 38 35 2c 20 31 38 35 2c | 20 31 38 35 20 29 3b 0d |85, 185,| 185 );.|
|000008c0| 0a 0d 0a 09 54 2e 54 20 | 3d 20 54 65 78 74 75 72 |....T.T |= Textur|
|000008d0| 65 27 44 57 65 61 70 54 | 65 78 2e 55 54 41 6c 65 |e'DWeapT|ex.UTAle|
|000008e0| 64 73 6d 30 39 27 3b 0d | 0a 09 54 2e 58 20 3d 20 |dsm09';.|..T.X = |
|000008f0| 30 3b 0d 0a 09 54 2e 59 | 20 3d 20 30 3b 0d 0a 09 |0;...T.Y| = 0;...|
|00000900| 54 2e 57 20 3d 20 54 65 | 78 74 75 72 65 27 44 57 |T.W = Te|xture'DW|
|00000910| 65 61 70 54 65 78 2e 55 | 54 41 6c 65 64 73 6d 30 |eapTex.U|TAledsm0|
|00000920| 39 27 2e 55 53 69 7a 65 | 3b 0d 0a 09 54 2e 48 20 |9'.USize|;...T.H |
|00000930| 3d 20 54 65 78 74 75 72 | 65 27 44 57 65 61 70 54 |= Textur|e'DWeapT|
|00000940| 65 78 2e 55 54 41 6c 65 | 64 73 6d 30 39 27 2e 56 |ex.UTAle|dsm09'.V|
|00000950| 53 69 7a 65 3b 0d 0a 09 | 66 6f 72 20 28 20 69 20 |Size;...|for ( i |
|00000960| 3d 20 30 3b 20 69 20 3c | 20 33 3b 20 69 2b 2b 20 |= 0; i <| 3; i++ |
|00000970| 29 0d 0a 09 7b 0d 0a 09 | 09 54 2e 59 20 3d 20 2d |)...{...|.T.Y = -|
|00000980| 47 69 62 62 65 72 69 73 | 68 4f 66 66 73 65 74 73 |Gibberis|hOffsets|
|00000990| 5b 69 5d 3b 0d 0a 09 09 | 44 72 61 77 56 65 72 74 |[i];....|DrawVert|
|000009a0| 54 69 6c 65 64 50 69 65 | 63 65 73 28 20 43 2c 20 |TiledPie|ces( C, |
|000009b0| 57 69 6e 57 69 64 74 68 | 20 2d 20 57 69 6e 57 69 |WinWidth| - WinWi|
|000009c0| 64 74 68 2f 35 20 2d 20 | 28 36 34 2a 58 53 63 61 |dth/5 - |(64*XSca|
|000009d0| 6c 65 29 20 2b 20 28 69 | 2a 36 34 2a 58 53 63 61 |le) + (i|*64*XSca|
|000009e0| 6c 65 29 20 2b 20 28 34 | 2a 58 53 63 61 6c 65 29 |le) + (4|*XScale)|
|000009f0| 2c 20 38 30 20 2a 20 59 | 53 63 61 6c 65 2c 20 36 |, 80 * Y|Scale, 6|
|00000a00| 34 20 2a 20 58 53 63 61 | 6c 65 2c 20 36 35 32 20 |4 * XSca|le, 652 |
|00000a10| 2a 20 59 53 63 61 6c 65 | 2c 20 54 2c 20 54 2c 20 |* YScale|, T, T, |
|00000a20| 54 2c 20 54 2c 20 54 2c | 20 31 2e 66 20 29 3b 0d |T, T, T,| 1.f );.|
|00000a30| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 00 |..}..}..|... |
+--------+-------------------------+-------------------------+--------+--------+